home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Mac Game Programming Gurus
/
TricksOfTheMacGameProgrammingGurus.iso
/
Book Chapters
/
03 - Advanced Graphics
/
Example 1
/
demo.h
< prev
next >
Wrap
Text File
|
1995-02-27
|
694b
|
34 lines
//
// File: demo.h
//
// This file is the header for demo.c.
//
// 2/18/95 -- Created by Mick
//
// shield
#ifndef _demo_h_
#define _demo_h_
// include files
#include <QDOffscreen.h>
// global defines
// extern functions
extern void startupDemo( void );
extern void shutdownDemo( void );
extern void demoKey( unsigned char inKey );
extern void doDemoFrame( void );
// extern data
extern GWorldPtr gOffscreenBuffer; // the port and gdevice of the offscreen buffer
extern PixMapHandle gOffscreenPixels; // the actual pixmap of the offscreen buffer
extern Rect gOffscreenRect; // the size of the offscreen buffer
// end of shield
#endif // #ifndef _demo_h_